package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.util.Date;

@Data
public class ComingOutLogExportDTO {

    @ExcelProperty(value = "操作时间", index = 0)
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ExcelProperty(value = "父类", index = 1)
    @ColumnWidth(15)
    private String parentName;

    @ExcelProperty(value = "分类", index = 2)
    @ColumnWidth(20)
    private String name;

    @ExcelProperty(value = "类型", index = 3)
    @ColumnWidth(10)
    private String operationTypeStr;

    @ExcelProperty(value = "操作前库存", index = 4)
    @ColumnWidth(10)
    private Integer operationBeforeCount;

    @ExcelProperty(value = "操作数量", index = 5)
    @ColumnWidth(10)
    private Integer operationNum;

    @ExcelProperty(value = "操作后库存", index = 6)
    @ColumnWidth(10)
    private Integer operationAfterCount;

    @ExcelProperty(value = "当前库存", index = 7)
    @ColumnWidth(10)
    private Integer surplusCount;
}
